package com.gnerv.sylvanas.assembly.autoconfigure;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.PropertySource;
import org.springframework.stereotype.Component;

/**
 * @author Gnerv LiGen
 */
@Data
@Component
@PropertySource(value = {"classpath:embrace.yml"}, factory = PropertySourceFactory.class)
@ConfigurationProperties(prefix = "embrace")
public class YmlConfigProperties {

    private String name;
    private String title;

}
